Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kelly/Meighan #17

Open
wants to merge 18 commits into
base: fiona/master
Choose a base branch
from
Open

Kelly/Meighan #17

wants to merge 18 commits into from

Conversation

knaydee
Copy link

@knaydee knaydee commented Jan 22, 2016

Please see Trello board for incomplete tasks/requirements

@ElsaTKO ElsaTKO assigned ElsaTKO and unassigned ElsaTKO Feb 2, 2016
# only one package for all products in order, for now
package = [ActiveShipping::Package.new(OUNCES, DIMENSIONS, units: :imperial, value: params[:value])]
# destination address info comes from query params provided from betsy app's API call
destination = ActiveShipping::Location.new(country: COUNTRY, state: params[:destination][:state], city: params[:destination][:city], zip: params[:destination][:zip])
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It helps readability to put each on its own line.

destination = ActiveShipping::Location.new(
  country: COUNTRY, 
  state:   params[:destination][:state], 
  city:    params[:destination][:city], 
  zip:     params[:destination][:zip]
)

@ElsaTKO
Copy link

ElsaTKO commented Feb 5, 2016

This looks good! 🎉 I would have liked to see your Trello board to get a sense of your approach. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants